package com.lcq.demo.common.converter;

import com.lcq.demo.entity.dto.ProductDTO;
import com.lcq.demo.entity.dto.ProductTypeDTO;
import com.lcq.demo.entity.po.Product;
import com.lcq.demo.entity.po.ProductType;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author 240701005
 */
@Mapper
public interface ProductTypeDTOConverter {

    ProductTypeDTOConverter INSTANCE = Mappers.getMapper(ProductTypeDTOConverter.class);

    ProductType convertToPo(ProductTypeDTO productTypeDTO);

}
